package com.spring.util;

/**
 * Created by anpushang on 2016/7/10. 常量类
 */
public class ConstantsStatus {

	/** 成功2000 */
	public final static Integer SC2000 = 2000;

	/** 服务端错误4000 */
	public final static Integer SC4000 = 4000;
	/** 数据保存失败!4001 */
	public final static Integer SC4001 = 4001;
	/** 数据修改失败!4002 */
	public final static Integer SC4002 = 4002;
	/** 没有找到该对象!4003 */
	public final static Integer SC4003 = 4003;
	/** 数据删除失败!4004 */
	public final static Integer SC4004 = 4004;
	/** 数据收藏失败!4013 */
	public final static Integer SC4013 = 4013;

	/** 文件上传失败4220 */
	public final static Integer SC4220 = 4220;
	/** 接口获取数据失败4221 */
	public final static Integer SC4221 = 4221;

	/** 短信发送失败4224 */
	public final static Integer SC4224 = 4224;
	/** 验证码无效4225 */
	public final static Integer SC4225 = 4225;

	/** 当前输入的手机号和注册时填写的手机号不一致!4307 */
	public final static Integer SC4307 = 4307;

	/** 支付失败4310 */
	public final static Integer SC4310 = 4310;

	/** 密码与账号不匹配!4369 */
	public final static Integer SC4369 = 4369;
	/** 密码错误超过指定次数!4370 */
	public final static Integer SC4370 = 4370;

	/** 客户端错误5000 */
	public final static Integer SC5000 = 5000;
	/** 参数异常,请检查传入的参数!5001 */
	public final static Integer SC5001 = 5001;

	/** 用户性别验证不通过!5003 */
	public final static Integer SC5003 = 5003;
	/** 手机号验证不通过!5004 */
	public final static Integer SC5004 = 5004;
	/** 身份证号验证不通过!5005 */
	public final static Integer SC5005 = 5005;
	/** 手机号已被注册!5006 */
	public final static Integer SC5006 = 5006;
	/** 证件号验证不通过!5007 */
	public final static Integer SC5007 = 5007;
	/** 证件类型验证不通过!5008 */
	public final static Integer SC5008 = 5008;
	/** token不能为空!5009 */
	public final static Integer SC5009 = 5009;

	/** token不存在或者已经过期!5010 */
	public final static Integer SC5010 = 5010;

	/** 未支付订单已过期 */
	public final static Integer SC5011 = 5011;

	/** 登录超时,请重新登录系统!5012 */
	public final static Integer SC5012 = 5012;

	/** 密码不能为空!5014 */
	public final static Integer SC5014 = 5014;
	/** 密码长度验证不通过!5015 */
	public final static Integer SC5015 = 5015;
	/** 两次输入的密码不一致!5016 */
	public final static Integer SC5016 = 5016;
	/** 邮箱不能为空!5017 */
	public final static Integer SC5017 = 5017;
	/** 邮箱验证不通过!5018 */
	public final static Integer SC5018 = 5018;
	/** 邮箱已被注册!5019 */
	public final static Integer SC5019 = 5019;

	/** 手机号不存在!5020 */
	public final static Integer SC5020 = 5020;

	/** 医生ID不能为空!5021 */
	public final static Integer SC5021 = 5021;

	/** 评分不能为空!5021 */
	public final static Integer SC5022 = 5022;

	/** 消息id为空!4371 */
	public final static Integer SC4371 = 4371;

	/** 会话ID不能为空!5023 */
	public final static Integer SC5023 = 5023;

	/** 患者ID不能为空!5024 */
	public final static Integer SC5024 = 5024;

	/** 对象不能为空!5025 */
	public final static Integer SC5025 = 5025;

	/** json转对象失败!5026 */
	public final static Integer SC5026 = 5026;

	/** 手机号格式不正确!5027 */
	public final static Integer SC5027 = 5027;

	/** 意见内容为空！ 5028 */
	public final static Integer SC5028 = 5028;

	/** 名称不存在!5040 */
	public final static Integer SC5040 = 5040;

	/** 性别不存在!5041 */
	public final static Integer SC5041 = 5041;

	/** 医院id不存在!5042 */
	public final static Integer SC5042 = 5042;

	/** 科室id不存在!5043 */
	public final static Integer SC5043 = 5043;

	/** 科室电话不存在!5044 */
	public final static Integer SC5044 = 5044;

	/** 省id不存在!5045 */
	public final static Integer SC5045 = 5045;

	/** 市id不存在!5046 */
	public final static Integer SC5046 = 5046;

	/** 县id不存在!5047 */
	public final static Integer SC5047 = 5047;

	/** 胸牌id不存在!5048 */
	public final static Integer SC5048 = 5048;

	/** 职称不存在!5049 */
	public final static Integer SC5049 = 5049;

	/** 医生个人信息不存在!5050 */
	public final static Integer SC5050 = 5050;

	/** 患者信息不存在！ */
	public final static Integer SC5051 = 5051;
	
	/** 身份证信息不正确！ */
	public final static Integer SC5052 = 5052;
	
	
	/** 医生注册，邀请码不正确!SC5054 */
	public final static Integer SC5054 = 5054;
	
	/** 医生注册,标签不能为空 */
	public final static Integer SC5056 = 5056;
	
	
	/** 验签信息为空！ */
	public final static Integer SC5060 = 5060;
	
	/** 验签参数不正确！ */
	public final static Integer SC5061 = 5061;
	
	/** 验签请求已过期！ */
	public final static Integer SC5062 = 5062;
	
	/** 非法授权,禁止访问！ */
	public final static Integer SC5063 = 5063;
	
	
	

	/** 系统相关 */
	/** 系统找不到对应的相关版本信息 */
	public final static Integer SC6001 = 6001;

	/** 有新版本,请升级 */
	public final static Integer SC6002 = 6002;

	/** 融云相关 */

	/**
	 * userId为空 6000
	 */
	public final static Integer RC6000 = 6000;

	/**
	 * groupId为空 6001
	 */
	public final static Integer RC6001 = 6001;

	/**
	 * groupName为空 6002
	 */
	public final static Integer RC6002 = 6002;

	/**
	 * 融云返回为空 6003
	 */
	public final static Integer RC6003 = 6003;

	/**
	 * 融云返回成功 2000
	 */
	public final static Integer RC2000 = 2000;

	/**
	 * userName为空 6005
	 */
	public final static Integer RC6005 = 6005;

	/**
	 * portraitUri为空 6006
	 */
	public final static Integer RC6006 = 6006;

	/**
	 * 消息为空 6007
	 */
	public final static Integer RC6007 = 6007;

	/**
	 * 融云token为空 6008
	 */
	public final static Integer RC6008 = 6008;

	/**
	 * 用户类型为空 6009
	 */
	public final static Integer RC6009 = 6009;

	/**
	 * 请求消息为空 6010
	 */
	public final static Integer RC6010 = 6010;

	/**
	 * 会话类型为空 6011
	 */
	public final static Integer RC6011 = 6011;

	/**
	 * 抢答成功
	 */
	public final static Integer SC7001 = 7001;
	/**
	 * 抢答内容为空
	 */
	public final static Integer SC7002 = 7002;

	/**
	 * 抢答失败(人员已满3)
	 */

	/**
	 * 视频ID为空
	 */
	public final static Integer SC7005 = 7005;

	/**
	 * 评论内容为空
	 */
	public final static Integer SC7006 = 7006;

	/**
	 * 评论人类型为空
	 */
	public final static Integer SC7007 = 7007;

	/**************************** 随访状态码 *****************************/
	/**
	 * 随访-患者未注册提醒
	 */
	public final static Integer SC8001 = 8001;
	/**
	 * 随访-已建立随访关系
	 */
	public final static Integer SC8002 = 8002;
	/**
	 * 随访-已发送过短信
	 */
	public final static Integer SC8003 = 8003;
	/**
	 * 随访-已发送过邀请消息
	 */
	public final static Integer SC8004 = 8004;

	
	/**************************** 订单状态码 *****************************/
	/**
	 * 存在有效订单
	 */
	public final static Integer SC9001 = 9001;
	/**
	 * 创建订单时已拉黑
	 */
	public final static Integer SC9002 = 9002;
	
	/**
	 * 已被别人抢先下单
	 */
	public final static Integer SC9003 = 9003;
	
	
	/********************************我的患者********************************************/
	/**
	 * 分组名已经存在
	 */
	public final static Integer SC10001 = 10001;
	
	/********************************三方登录********************************************/
	/**
	 * 未授权
	 */
	public final static Integer SC20002 = 20002;
	/**
	 * 已绑定过
	 */
	public final static Integer SC20003 = 20003;
	
	/**************************** 常量池 *****************************/
	
	/***
	 * 医生职称
	 */
	public final static String DOCTORZC = "doctorZc";
	/***
	 * 账户类型
     */
	public final static String ACCOUNT_TYPE = "account_type";
	/***
	 *
     */
	public final static String PAY_TYPE = "pay_type";

	public final static String CANCEL_TAG = "cancel_tag";

	/**
	 * 文章标签
	 */
	public final static String ARTICLETYPE = "articleType";
	public final static String DOCT_TOKEN_KEY = "doct_token_key";

	public final static String PTIENT_TOKEN_KEY = "patient_token_key";
	
	//医生sys_dic的code 
	public final static String DOCTOR_TAG_CODE = "doctor_tag";
	/***
	 * 重新认证
	 */
	public final static Integer APPROVE = 4;
	/***
	 * 未认证
	 */
	public final static Integer UNAUTH_ORIZED = 0;
	/***
	 * 审核通过/已认证
	 */
	public final static Integer CERTIFIED = 1;
	
	/**
	 * 认证未通过
	 */
	public final static Integer AUTH_FAILED =2 ;

	/***
	 * 认证中
	 */
	public final static Integer CERTIFICATION = 3;

	public final static Integer NOT_AUDIT = 1;


	/***
	 * 随访方案 状态进行中
     */
	public final static Integer UNDER_WAY = 1;
	/***
	 * 随访方案 状态 已失效
	 */
	public final static Integer LOSE_EFFICACY = 2;


	/***
	 * 随访方案 状态 已反馈
	 */
	public final static Integer LOSE_REPLY = 3;


	/***
	 * 药物随访方案类型
     */
	public final static Integer DRUG_SCHEME = 1;
	/***
	 * 身体检测随访方案类型
	 */
	public final static Integer BODY_DETECTION= 2;
	/***
	 * 其他治疗随访方案类型
	 */
	public final static Integer OTHER_TREAT = 3;
	/***
	 * 安卓渠道code
     */
	public final static String TRENCH_CODE = "trenchCode";
	/**
	 * IOS渠道code
	 */
	public final static String CHANNEL_CODE="channel_code";
	/***
	 * 活动类型code
     */
	public final static String ACTIVITY_CODE = "activityCode";

	/***
	 * 安卓版本code
	 */
	public final static String ANDROID_VERSION_CODE = "android_version";

	/***
	 * 医生账户类型
     */
	public final static Integer DOCTOR_TYPE = 0;
	/***
	 * 患者账户类型
     */
	public final static Integer PATIENT_TYPE = 1;

	public final static String PATIENT_ = "patient_";

	public final static String DOCTOR_ = "doctor_";

	public final static String DOCTOR_TRADE_ = "doctor_trade_";


}
